﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace CoreColution.EntityDto
{
   public class _baseDto
    {
        [Key]
        public Guid Id { get; set; }
        
        public bool IsDelete { get; set; }

        public int Sort { get; set; }

        [MaxLength(2000)]
        public string Remark { get; set; }

        /// <summary>
        /// 操作 0添加 1编辑
        /// </summary>
        [Required]
        public int TypeOper { get; set; }
    }

    /// <summary>
    /// 分页
    /// </summary>
    public class PageList
    {
        /// <summary>
        /// 页码数量
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 页码数
        /// </summary>
        public int PageIndex { get; set; }
    }
}
